import { request, METHOD } from '@/utils/request';

export const getHistoryEventCountApi = params => {
  return request('/ftm/ftmEventLeg/getHistoryEventCount', METHOD.POST, params);
};

// 历史故障统计详情
export const getHistoryEventCountDetailApi = params => {
  return request('/ftm/ftmEventLeg/getHistoryEventCountDetail', METHOD.GET, params);
};

// 历史肮段统计详情
export const getHistoryFlightCountDetailApi = (params) => {
  return request('/ftm/ftmEventLeg/getHistoryFlightCountDetail', METHOD.GET, params);
};
